#!/bin/sh
export OPSLOG_VERSION=%version%
export OPSLOG_UPDATE_SERVER="http://opslognet.appspot.com/updates/latest"
export OPSLOG_BIN=$0
PYTHON=`which python`
exec $PYTHON -c '
import sys
sys.path.insert(0, sys.argv[1])
del sys.argv[0:1]
import opslog.cli.main
opslog.cli.main.main()
' $0 "$@"
